public class TechDepartment {
    public TechDepartment(String name,int numOfMembers){
        super.name = name;
        super.numOfMembers = numOfMembers;
    }
    @Override
    public void work(){
        System.out.println(super.name +"负责技术研发、市场营销策划等," + "部门有" + super.numOfMembers + "人。");
    }
}
